// 唯一的全局变量MYAPP:
var MYAPP = {};

MYAPP.name = 'My App Module'
MYAPP.version = 'v1.0.0'
MYAPP.foo = () => { console.log('老喻')}

// 选择默认导出对象
export default MYAPP